<?php
/**
 * 
 * @author wuzhifeng 麦迪莱登
 *
 */
class MondilandAction extends HomeAction{
    public function index()
    {
        $cat_ids =2174;
        $parent_category=CategoryModel::get_category_sub_list($cat_ids);
        foreach($parent_category as $k=>$v){
            if(!$v['is_3d']){
                unset($parent_category[$k]);
            }
        }
        if(check_wap()||$_GET['mobile']==1){
            $this->assign('mobile',1);
        }
        $data = array(
            'docTitle' =>"定制西装 | MONDILAND",
        );
        $this->assign($data);
        $this->assign('parent_category',$parent_category);
        $this->assign('m',1);
        $this->display('mondiland/index');
    }
}
